home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / dlasrt.z / dlasrt
Encoding:
Text File  |  2002-10-03  |  2.9 KB  |  133 lines

  1.  
  2.  
  3.  
  4. DDDDLLLLAAAASSSSRRRRTTTT((((3333SSSS))))                                                          DDDDLLLLAAAASSSSRRRRTTTT((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DLASRT - the numbers in D in increasing order (if ID = 'I') or in
  10.      decreasing order (if ID = 'D' )
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE DLASRT( ID, N, D, INFO )
  14.  
  15.          CHARACTER      ID
  16.  
  17.          INTEGER        INFO, N
  18.  
  19.          DOUBLE         PRECISION D( * )
  20.  
  21. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  22.      These routines are part of the SCSL Scientific Library and can be loaded
  23.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  24.      directs the linker to use the multi-processor version of the library.
  25.  
  26.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  27.      4 bytes (32 bits). Another version of SCSL is available in which integers
  28.      are 8 bytes (64 bits).  This version allows the user access to larger
  29.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  30.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  31.      only one of the two versions; 4-byte integer and 8-byte integer library
  32.      calls cannot be mixed.
  33.  
  34. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  35.      Sort the numbers in D in increasing order (if ID = 'I') or in decreasing
  36.      order (if ID = 'D' ). Use Quick Sort, reverting to Insertion sort on
  37.      arrays of
  38.      size <= 20. Dimension of STACK limits N to about 2**32.
  39.  
  40.  
  41. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  42.      ID      (input) CHARACTER*1
  43.              = 'I': sort D in increasing order;
  44.              = 'D': sort D in decreasing order.
  45.  
  46.      N       (input) INTEGER
  47.              The length of the array D.
  48.  
  49.      D       (input/output) DOUBLE PRECISION array, dimension (N)
  50.              On entry, the array to be sorted.  On exit, D has been sorted
  51.              into increasing order (D(1) <= ... <= D(N) ) or into decreasing
  52.              order (D(1) >= ... >= D(N) ), depending on ID.
  53.  
  54.      INFO    (output) INTEGER
  55.              = 0:  successful exit
  56.              < 0:  if INFO = -i, the i-th argument had an illegal value
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDLLLLAAAASSSSRRRRTTTT((((3333SSSS))))                                                          DDDDLLLLAAAASSSSRRRRTTTT((((3333SSSS))))
  71.  
  72.  
  73.  
  74. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  75.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  76.  
  77.      This man page is available only online.
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.